<template>
    <el-button type="primary" v-waves :size="size"><i class="iconfont icon-bianji-copy" style="font-size:12px;padding-right:3px;" v-show="showIcon" />{{ $t('编辑') }}</el-button>
</template>

<script>
import waves from '@/directive/waves/index.js'
export default {
    name:'RuleButtonIcon',
    props:{
        showIcon: {
            type: Boolean,
            default: true
        },
        size: {
            type: String,
            default: 'small'
        }
    },
    directives: {
        waves
    }
}
</script>